package com.markerhub.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("m_manager_class")
public class ManagerClass implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 教学班名称
     */
    private String name;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

    /**
     * 教学班描述
     */
    private String classDesc;

    /**
     * 负责教师id
     */
    private Integer teacherId;

    /**
     * 活动id
     */
    private Integer activityId;

    @TableField(exist = false)
    private String activityName; // 显示活动名称

    private String classType;

}
